package glossos.parsing.action;

import glossos.parsing.WordBuffer;

/**
 * This action tells the {@link WordBuffer} that there is nothing more to process. 
 * @author Otavio Macedo
 *
 */
public class FinishAction implements Action {

	private WordBuffer buffer;

	public FinishAction(WordBuffer buffer) {
		this.buffer = buffer;
	}

	public void execute(char c) {
		buffer.close();
	}

}
